{extend name="user/index" /}
{block name="main"}

<div class="am-u-sm-12 am-u-md-12 am-u-lg-6">
    <div class="widget am-cf">
        <div class="widget-head am-cf">
            <div class="widget-title am-fl">用户详情</div>
            <div class="widget-function am-fr">
                <a href="javascript:;" class="am-icon-cog"></a>
            </div>
        </div>
        <div class="widget-body  widget-body-lg am-fr">

            <table width="100%" class="am-table am-table-compact am-table-bordered tpl-table-black " id="example-r">
                <thead>
                <tr>
                    <th>标题</th>
                    <th>内容</th>
                </tr>
                </thead>
                <tbody>

                <tr>
                    <td>用户姓名</td>
                    <td>{$row['name']}</td>
                </tr>

                <tr>
                    <td> 用户电话</td>
                    <td>{$row['tel']}</td>
                </tr>

                <tr>
                    <td>用户状态</td>
                    <td>{$row['status']?"激活":"禁用" }
                    </td>
                </tr>

                <tr>
                    <td>用户年龄</td>
                    <td>
                        {$row['age']}
                    </td>
                </tr>

                <tr>
                    <td>用户性别</td>
                    <td>{$row['sex']?'男':'女'}
                    </td>
                </tr>

                <tr>
                    <td>用户生日</td>
                    <td>
                        {$row['birthday']}
                    </td>
                </tr>

                <tr>
                    <td>用户省份</td>
                    <td>
                        {$row['province']}
                    </td>
                </tr>

                <tr>
                    <td>是否已婚</td>
                    <td>{$row['is_marry']?'已婚':'未婚'}
                    </td>
                </tr>

                <tr>
                    <td>用户积分</td>
                    <td>
                        {$row['integral']}
                    </td>
                </tr>

                <tr>
                    <td>用户邮箱</td>
                    <td>{$row['email']}</td></tr>

                <tr>
                    <td>用户照片</td>
                    <td><img src="{$IMG_PATH}default.jpg" alt=""></td>
                </tr>

                <tr>
                    <td>用户添加时间</td>
                    <td>{$row['addtime']}</td>
                </tr>

                <tr>
                    <td>用户经验值</td>
                    <td>{$row['experience']}</td>
                </tr>
                </tbody>
            </table>

        </div>
    </div>
</div>

{/block}